package cn.shutdown.service;

import cn.shutdown.po.Post;

import java.util.List;
import java.util.Map;

/**
 * 帖子service
 * 
 * @author jiangwujie
 *
 */
public interface IPostService {

	public List<Map<String, Object>> findByCategoryId(int categoryId);

	Map<String, Object> findById(int id);

	public void save(Post post);

	public int getMaxPostLevel(int id);

	List<Map<String,Object>> findSubPost(int id);

	List<Map<String, Object>> getPostListByCategoryId(int categoryId);
}
